﻿@using Angel.Entities;
@{
    ViewBag.Title = "Search";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/Angel.js")" type="text/javascript"></script>
<h2>Search Group by Name</h2>

<div>
    <fieldset>
        <legend>Search Group by Name</legend>

        <div class="editor-label">
            Group name
        </div>
        <div class="editor-field">
            <input type="text" name="NameGroup" id="NameGroup" onkeypress="searchGroup()"/>
        </div>
        <p>
        <button type="submit" onclick="searchGroup()" >Search</button>
        </p>
        <div id="searchResult"></div>
    </fieldset>
</div>